#include <stdio.h>

int main()
{
    int n;
    char buf[1024];
    int i = scanf("%s", buf);
    printf("buf: %s\n", buf);
    printf("scanf of buf return is %d\n", i);
    return 0;
}